package jsyf.oa.facade.importExcel;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.alibaba.fastjson.JSONObject;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.util.List;

/**
 * Created by 92852 on 2018/4/19.
 */
@Path("/importExcelService")
@Consumes({MediaType.APPLICATION_JSON, MediaType.TEXT_XML})
@Produces({ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8})
public interface ImportExcelFacade {

    @Path("/readExcelFile")
    String readExcelFile(String jsonData);
    @Path("/readExcelMoney")
    String readExcelMoney(String jsonData);
    @Path("/receivableFile")
    Boolean receivableFile(String jsonData,String mainId,String type);
    @Path("/financingFile")
    Boolean financingFile(String jsonData,String mainId,String type);
    @Path("/readExcelCustomer")
    String readExcelCustomer(String jsonData,String createName,String createTel);
    @Path("/readExcelSalary")
    String readExcelSalary(String jsonData,String month,String fjname);
    @Path("/receivableFile")
    Boolean availableFile(String jsonData, String mainId);
}
